package com.wkedu.recommend.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author ganggang
 * @since 2021-08-11
 */
public class ProductTable extends Model<ProductTable> {

    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    @TableId(value = "productID", type = IdType.AUTO)
    private Integer productID;

    /**
     * 商品名字
     */
    private String productName;

    /**
     * 商品金额
     */
    private Double price;

    /**
     * 成交数量
     */
    private Integer volume;

    /**
     * 商店名称
     */
    private String shoppName;

    /**
     * 生产地
     */
    private String location;

    /**
     * 好评数量
     */
    private Integer evaluate;

    /**
     * 收藏数量
     */
    private Integer collect;

    public Integer getProductID() {
        return productID;
    }

    public void setProductID(Integer productID) {
        this.productID = productID;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public String getShoppName() {
        return shoppName;
    }

    public void setShoppName(String shoppName) {
        this.shoppName = shoppName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(Integer evaluate) {
        this.evaluate = evaluate;
    }

    public Integer getCollect() {
        return collect;
    }

    public void setCollect(Integer collect) {
        this.collect = collect;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "ProductTable{" +
        ", productID=" + productID +
        ", productName=" + productName +
        ", price=" + price +
        ", volume=" + volume +
        ", shoppName=" + shoppName +
        ", location=" + location +
        ", evaluate=" + evaluate +
        ", collect=" + collect +
        "}";
    }
}
